import React, {useEffect} from 'react'
import {useNavigate} from 'react-router-dom'

export function Home() {
    const navigate = useNavigate()
    const handleJumpToEdit = () => {
        navigate('/blog_edit')
    }
    return (
        <div>
            <div>
                <button onClick={handleJumpToEdit}>
                    写一篇!
                </button>
            </div>
        </div>
    )
}
